package service.impl;

import dao.DeptDao;

import dao.impl.DeptDaoimpl;

import pojo.Dept;

import service.DeptService;


import java.util.List;

public class DeptServiceimpl implements DeptService {
    DeptDao deptDao = new DeptDaoimpl();

    @Override
    public List<Dept> findAll() {

        List<Dept> depts = deptDao.findAll();
        return depts;
    }

}
